Skip to content

Fix Android APK build: SDK setup and Button API - #1

Merged
jaFuart merged 2 commits into
mainfrom
fix/android-sdk-packages
Nov 8, 2026
Merged

jaFuart merged 2 commits into
mainfrom
fix/android-sdk-packages

Conversation

@jaFuart

@jaFuart jaFuart commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Android APK builds failed during SDK setup because setup-android requested the unavailable legacy tools package. Java compilation also failed because MainActivity called Button.setTextAllCaps, which is not an Android API.

  • Override setup-android packages with platform-tools; retain the existing Android 35 and build-tools installation.
  • Use the supported Button.setAllCaps(false) API.
  • Build pull requests targeting main/master and fail artifact upload if the APK is missing.

Validation: workflow YAML parses successfully and git diff --check passes. The full GitHub Actions build for commit 2c9cca0 passed, including gradle --no-daemon :app:assembleDebug and upload of LikeFolder-debug-apk.

Successful run: https://github.com/jaFuart/LikeFolder/actions/runs/42509888257

Runtime behavior on an Android device was not tested.

@jaFuart jaFuart changed the title Fix Android APK build: skip unavailable legacy SDK tools Fix Android APK build: SDK setup and Button API Nov 8, 2026
@jaFuart
jaFuart marked this pull request as ready for review November 8, 2026 18:32
@jaFuart
jaFuart merged commit ecbac74 into main Nov 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant